
INCLUDES = -I$(top_srcdir)/grub_md5 	\
	   -DTEST

noinst_HEADERS = utility.h \
		 ../grub_md5/md5.h \
		 ../grub_md5/shared.h

bin_PROGRAMS = pam_grub.so

pam_grub_so_SOURCES = utility.c		\
		      pam_grub.c	\
		      $(top_srcdir)/grub_md5/md5.c

pam_grub_so_LDADD = $(GLIB_LIBS)
pam_grub_so_LDFLAGS = -shared
pam_grub_so_CFLAGS = $(GLIB_CFLAGS) -lpam -fPIC

dnl lib_LTLIBRARIES = pam_grub.la

dnl pam_grub_la_SOURCES = utility.c 	\
dnl		      pam_grub.c 	\
dnl		      $(top_srcdir)/grub_md5/md5.c

dnl pam_grub_la_LIBADD = $(GLIB_LIBS) -lpam
dnl pam_grub_la_LDFLAGS = -module -avoid-version
